https://www.youtube.com/watch?t=1890&v=IR1NLfaq7PU&feature=youtu.be
#kafka #event_driven #microservice
#kafka #event_driven #microservice
YouTube
Building event-driven (Micro)Services with Apache Kafka by Guido Schmutz
This session will begin with a short recap of how we created systems over the past 20 years, up to the current idea of building systems, using a Microservices architecture. What is a Microservices architecture and how does it differ from a Service-Oriented…
https://podcasts.google.com/?feed=aHR0cHM6Ly9zb2Z0d2FyZWVuZ2luZWVyaW5nZGFpbHkuY29tL2NhdGVnb3J5L3BvZGNhc3QvZmVlZC8&ep=14&episode=aHR0cDovL3NvZnR3YXJlZW5naW5lZXJpbmdkYWlseS5jb20vP3A9MTAzNzY
#kafka #podcast #alternative
#kafka #podcast #alternative
Google Podcasts
Podcast – Software Engineering Daily - Redpanda: Kafka Alternative with Alexander Gallego
Kafka has achieved widespread popularity as a popular distributed queue and event streaming platform, with enterprise adoption and a billion dollar company (Confluent) built around it. But could there be value in building a new platform from scratch? Redpanda…
While configuration can be tested with command
There is a command
Command to test and reload if it's ok:
#nginx #test #configtest
service nginx configtest
, there is a more convenient way to do this - and immediately get whats wrong. There is a command
nginx -t
, which test configuration and display error messages. Both commands must be used with sudo or permission denied messages might be shown (regarding SSL certificates for example).Command to test and reload if it's ok:
sudo nginx -t && sudo service nginx reload
#nginx #test #configtest
A senior React developer needed for a tech startup located in Hafez st.
Please send your resumes to:
@alirezastack
#job #react #redux
Please send your resumes to:
@alirezastack
#job #react #redux
How to copy a file in the same path with a different name?
Well you just need to use curly braces, {}, to make it happen:
What you usually MIGHT do:
You can take the smart path btw:
NOTE: if suffix of both files are different you can put that inside of curly braces too.
#linux #sysadmin #cp #copy #trick
Well you just need to use curly braces, {}, to make it happen:
What you usually MIGHT do:
cp /usr/local/share/lib/sample.conf /usr/local/share/lib/settings.conf
You can take the smart path btw:
cp /usr/local/share/lib/{sample,settings}.conf
NOTE: if suffix of both files are different you can put that inside of curly braces too.
#linux #sysadmin #cp #copy #trick
https://www.digitalocean.com/community/tutorials/using-grep-regular-expressions-to-search-for-text-patterns-in-linux
#linux #grep #regex
#linux #grep #regex
Digitalocean
Mastering grep with Regular Expressions: Guide for Efficient Text Search | DigitalOcean
Learn how to use grep with regular expressions to search, filter, and process text in Linux and Unix systems. This guide covers syntax, practical use cases, …
Did you know you can use jsonSchema in MongoDB to search for documents?
Let's say you have
Now let's say you want to find all documents that has a customer_id of type
In Mongo shell:
This schema says look for documents that have
Interesting, right? :)
#database #mongodb #jsonSchema #json_schema
Let's say you have
users
collection with data below:{ "_id" : ObjectId("5f64bd1eca8806f2c04fcbe3"), "customer_id" : 100, "username" : "john" }
{ "_id" : ObjectId("5f64bd1eca8806f2c04fcbe5"), "customer_id" : 206, "username" : "new_customer" }
{ "_id" : ObjectId("60420df441558d6671cf54f2"), "customer_id" : "123", "username" : "Ali" }
Now let's say you want to find all documents that has a customer_id of type
string
instead of int
.In Mongo shell:
let ms = {required: ["customer_id"], properties: {customer_id: {bsonType: "string"}}}
This schema says look for documents that have
customer_id
field with string
type. To search:> db.customers.find({$jsonSchema: ms})
{ "_id" : ObjectId("60420df441558d6671cf54f2"), "customer_id" : "123", "username" : "Ali" }
Interesting, right? :)
#database #mongodb #jsonSchema #json_schema