News for hackers. Stuff that matters.
Re:The Architecture of Open Source Applications by lewisjoe on Wednesday September 30, 2020 @06:02AM (#24637094)
Here's a list of softwares that I'd like to see explained in detail:

#1 SQLITE

#2 ProseMirror

#3 V8

#4 WebKit

#5 Kubernetes

Re:The Architecture of Open Source Applications by SQLite on Wednesday September 30, 2020 @08:19AM (#24637977)
SQLite described (with links to details) here: https://www.sqlite.org/arch.html
Re:The Architecture of Open Source Applications by remram on Wednesday September 30, 2020 @12:24PM (#24640465)
Kubernetes is pretty simple, compared to some of those. The "master" servers read from Etcd and talk to daemons on the worker servers (Kubelet) to start/stop Docker containers, or to cloud APIs to manipulate volumes and network configuration. Then there's just a web server to answer API requests to read/write Etcd.

There are some components running on top of this to provide networking, DNS, logging, etc, which simply run as containers on all machines.

Of course there are many types of objects, many possible addons for logging/network/..., and the API authentication is quite complex, but the overall concept is quite simple and builds directly on Etcd.

Re:The Architecture of Open Source Applications by mathieubordere on Wednesday September 30, 2020 @06:48AM (#24637326)
It would be nice if it became a community-driven site or had a community-driven section where people could add architectures of various software systems.
Re:The Architecture of Open Source Applications by agambrahma on Wednesday September 30, 2020 @01:37PM (#24641322)
A great case to be made for a third AOSA book, that includes all these.

(I was about to say that Sqlite was already covered, but no, I was confused, it was the old BerkeleyDb!)

Re:The Architecture of Open Source Applications by sktguha on Wednesday September 30, 2020 @06:34AM (#24637251)
Add React and Redux also . Although Redux is a lot simpler
Re:The Architecture of Open Source Applications by acemarke on Wednesday September 30, 2020 @12:15PM (#24640347)
I gotcha covered there :)

See my "Idiomatic Redux" blog post series [0] for info on how Redux was designed, why it works the way it does, and the implementation details of both the Redux core, React-Redux, and our new Redux Toolkit package.

I also recommend the post "Build Yourself a Redux" [1] as the best "build a mini Redux" post I've seen.

Rodrigo Pombo's "Didact" series [2] does the same process but for React, showing how to build a miniature reconciler that even includes hooks.

I also have links to further articles about React's implementation [3] as well.

Finally, I specifically recommend reading my post "A (Mostly) Complete Guide to React Rendering Behavior [4] and Dan Abramov's extensive article "A Complete Guide to `useEffect`" to better understand how React behaves and how to use it correctly.

[0] https://blog.isquaredsoftware.com/series/idiomatic-redux

[1] https://zapier.com/engineering/how-to-build-redux/

[2] https://github.com/pomber/didact

[3] https://github.com/markerikson/react-redux-links/blob/master...

[4] https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-...

[5] https://overreacted.io/a-complete-guide-to-useeffect/