| 日時: | 2025-03-02 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 2025.1 |
| url: | https://sora.shiguredo.jp/ |
- Raftという分散合意アルゴリズムの紹介
- 論文: In Search of an Understandable Consensus ALgorithm (Extended Version)
- Raft三日目くらいの人が自分の理解をもとに(適当に)書いています
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Poco/Net/HTTPServer.h> | |
| #include <Poco/Net/HTTPRequestHandler.h> | |
| #include <Poco/Net/HTTPServerResponse.h> | |
| #include <Poco/Util/Application.h> | |
| #include <Poco/Util/ServerApplication.h> | |
| using namespace Poco::Util; | |
| using namespace Poco::Net; | |
| using namespace Poco::Net; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # XXXXXXの部分を書き換えて以下のコマンドを実行して下さい。 | |
| # source .env | |
| export PIXIV_LOGIN_ID=XXXXXXXX | |
| export PIXIV_LOGIN_PASS=XXXXXXX |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Taken from: https://hackerlists.com/hacking-sites/ | |
| 22 Hacking Sites, CTFs and Wargames To Practice Your Hacking Skills | |
| InfoSec skills are in such high demand right now. As the world continues to turn everything into an app and connect even the most basic devices to the internet, the demand is only going to grow, so it’s no surprise everyone wants to learn hacking these days. | |
| However, almost every day I come across a forum post where someone is asking where they should begin to learn hacking or how to practice hacking. I’ve compiled this list of some of the best hacking sites to hopefully be a valuable resource for those wondering how they can build and practice their hacking skill set. I hope you find this list helpful, and if you know of any other quality hacking sites, please let me know in the comments, so I can add them to the list. | |
| 1. CTF365 https://ctf365.com/ |
(WIP)
- Table of Contents
- 基本編
https://github.com/antirez/disque
disqueはRedisの作者が開発したメモリベースの分散メッセージブローカである。
- ゴールは
"Redis as a jobs queue"である。 - redisのようにシングルスレッドで動作する。 これはredis.ioにも言及されたように同じことだと思われる
- 現在のバージョンは1.0 betaでプロダクト環境にはまだ合わないかもしれないと書いてある。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Latency Comparison Numbers | |
| -------------------------- | |
| L1 cache reference/hit 1.5 ns 4 cycles | |
| Floating-point add/mult/FMA operation 1.5 ns 4 cycles | |
| L2 cache reference/hit 5 ns 12 ~ 17 cycles | |
| Branch mispredict 6 ns 15 ~ 20 cycles | |
| L3 cache hit (unshared cache line) 16 ns 42 cycles | |
| L3 cache hit (shared line in another core) 25 ns 65 cycles | |
| Mutex lock/unlock 25 ns | |
| L3 cache hit (modified in another core) 29 ns 75 cycles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "syscall" | |
| "unsafe" | |
| "golang.org/x/sys/windows" | |
| ) | |
| var ( |
