Redis
Polly
Our great sponsors
Redis | Polly | |
---|---|---|
233 | 43 | |
58,278 | 11,507 | |
0.9% | 1.5% | |
9.8 | 9.4 | |
3 days ago | 5 days ago | |
C | C# | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Redis
-
Unleashing the Power of GPT-3 with a Serverless Node.js REST API: A Step-by-Step Guide
The code uses the codehooks-js library to handle routing and middleware for the API, and the node-fetch library to make HTTP requests to the OpenAI API. The code also uses the built-in codehooks.io Key-Value store to cache the response from the OpenAI API for 60 seconds, in order to reduce the number of requests made to the OpenAI API (If you want to create your own Node.js Express backend, you just need to replace this cache with Redis for example).
-
Using In-Memory Databases in Data Science
Redis is an in-memory database and an open-source streaming engine with an IMDB data structure server that supports multiple data sets and data streams. This open-source platform has high throughputs and lower bandwidth due to its in-memory features that lead to faster processing of big data in data science applications.
-
Guaranteeing webhook delivery in NextJS Application
Quirrel is a popular open-source webhook framework that makes it easy to add webhook support to your app. It makes uses of redis under the hood.
-
System Design: Caching, Content Delivery Networks (CDN) & Proxies.
Redis
-
All you (probably) need to know about caching on the web 🗃
Redis is an in-memory data store that you can use as a database – or a cache in front of your regular database. The speed of Redis makes it ideal to cache database queries, complex computations, API calls, and session state.
-
Database 101: Data Consistency for Beginners
I didn't finish college and I didn't see anything about Databases when I was there, so I don't have any theoretical background and on these 4 years coding at enterprise level my focus was totally in things like: Clean Code, SOLID, Design Patterns and other stuff code related and my only Database knowledge was about SQL/MySQL and Cache/Redis.
-
Perl Weekly #597 - Happy New Year!
For the course I started to collect Open Source projects developed by corporations. There are a few where the product is open source such as Redis and Elastic. There are others where the company shares some of its code as open source such as Netflix, Facebook, or Booking.com.
-
Getting Started Upstash Redis with Rails
The answer is yes. Introducing Redis, an open source database, in-memory, key-value data store and it is most-loved database by developers for five years running. Redis is commonly used as a primary database, cache, queue, and message broker. Redis is an open source (BSD licensed) that is used primarily as an application cache and quick response database and because the data is stored in memory rather than on a disk, Redis delivered unparalleled speed, reliability, and performance.
-
Ask HN: Learn C in 2023?
I'm not a C engineer, but I think I have an interesting recommendation to consider.
Since you are already familiar with other languages, you obviously don't need to know the basics of C. The basics are the same everywhere. Instead, you'd likely want to build that mindset on how to build good software with C.
I suggest you read other people's code and try to deep dive into the whys.
I heard Redis is a well-written software.
git clone https://github.com/redis/redis.git
Polly
-
Ask HN: What's the best source code you've read?
I don't know if it is the most elegant, or concise, or l33t, but I am in love with Polly https://github.com/App-vNext/Polly
-
Implementing resilient applications with API Gateway (Circuit breaker)
One solution can be implementing the circuit breaker pattern for each microservice by using proven .NET libraries like Polly which is a very time-consuming and sometimes even challenging task.
-
Any recommendation of download library?
it doesn't even throw when exception occurred, just a line of "Debug.Break", which means I can't use it with Polly
- ASP.NET 6 - Rate limit injected SMS service
-
Creating and Using HTTP Client SDKs in .NET 6
💡 Resiliency patterns - retry, cache, fallback, etc.: Very often, in distrusted systems world you need to ensure high availability by incorporating some resilience policies. Luckily, we have a built-in solution to build and define policies in .NET - Polly. There is out-of-the-box integration with IHttpClientFactory provided by Polly. This uses a convenience method, IHttpClientBuilder.AddTransientHttpErrorPolicy. It configures a policy to handle errors typical of HTTP calls: HttpRequestException, HTTP 5XX status codes (server errors), HTTP 408 status code (request timeout).
-
Accurate
One of my favorite is Polly which provides a simple Circuit Breaker implementation plus other resiliency tools.
-
Newbie unit testing - Help needed
You do realize you are testing implementation details of a library which has its own public test suite? Code is available at https://github.com/App-vNext/Polly/tree/master/src/Polly.Specs/Retry/WaitAndRetryAsyncSpecs.cs
-
What is the difference between the coding skillset of a data scientist and that of a SWE?
An SWE would likely guide the development and maintenance of any kind of SOA-based architecture, including writing and configuring the software to make it work. For example, a data scientist would not worry about using Polly for resiliency, or Consul for service discovery, and creating the libraries to use these systems.
-
How to better handle exceptions with HttpClient.
Look into Polly resilience library. You can do much more with it, like automatic retries etc.
-
ASP.NET Core API Checklist
We need to bake in some level of resiliency by automatically retrying transient failures. This can easily be done by using something like Polly.
What are some alternatives?
MediatR - Simple, unambitious mediator implementation in .NET
Hangfire - An easy way to perform background job processing in your .NET and .NET Core applications. No Windows Service or separate process required
RabbitMQ - Open source RabbitMQ: core server and tier 1 (built-in) plugins
LevelDB - LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
FluentValidation - A popular .NET validation library for building strongly-typed validation rules.
celery - Distributed Task Queue (development branch)
Flurl.Http - Fluent URL builder and testable HTTP client for .NET
Riak - Riak is a decentralized datastore from Basho Technologies.
cockroach - CockroachDB - the open source, cloud-native distributed SQL database.
Apache HBase - Apache HBase
ArangoDB - 🥑 ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.
Lazy Cache - An easy to use thread safe in-memory caching service with a simple developer friendly API for c#