Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying ServiceStack 4 Cookbook
  • Table Of Contents Toc
ServiceStack 4 Cookbook

ServiceStack 4 Cookbook

By : Hodgson
4.7 (3)
close
close
ServiceStack 4 Cookbook

ServiceStack 4 Cookbook

4.7 (3)
By: Hodgson

Overview of this book

If you are a .NET developer who is looking for a simpler way to build services, this is the book for you. It will show you how to write fast, maintainable APIs that are a pleasure to use and maintain starting from the database to the client and everything in-between.
Table of Contents (13 chapters)
close
close
12
Index

Introduction


Often, when scaling a web application, at some point it starts to make sense to include a distributed-memory cache. While this can sound exotic, and it can introduce some complexity, the basic idea is very simple. At its most basic, what a cache allows you to do is store a bit of information any way you want, optimized for nearly immediate retrieval.

For instance, you might have a product catalog in a database containing tens of thousands of stock keeping units (SKUs). You query this database fairly often to get the list of the top 100 items that are actually available for sale right now. Your database is pretty well optimized, and that query runs fairly quickly, but it still puts a fair amount of load on your database servers to do it on every page load.

What a cache could allow you to do is create a List<Product> that contains this often-needed list and then refer to it easily in code. The cache server stores the list in-memory, not on disk, which means that retrieval...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
ServiceStack 4 Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon