PostgreSQLのMVCC(Multi-Version Concurrency Control)では、各トランザクションが見るべきレコードのバージョンを効率的に見つける仕組みとして、以下のような方法が使われています。
- Heap Tuple:
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>ブロック崩しゲーム</title> | |
<style> | |
body { | |
margin: 0; | |
overflow: hidden; |
注意:まだベータにもなっていない段階のコードベースで、設定も精査せず、ベンチマーククライアントも同一マシンに置いて、とりあえず測定をしてみた、というだけのものなので、その程度のものであり、結果であるというところは、ご承知おき下さい。 | |
●前提情報 | |
■実施日 | |
2025/4/5 | |
■測定環境(自作デスクトップ) | |
AMD Ryzen 7 5700X 8-Core Processor 4.50 GHz | |
Memory 64GB | |
WD_Black SN770 NVMe WDS100T3X0E 1TB M.2 PCI-Express Gen4 |
// --- Configuration --- | |
// --- ここから設定 --- | |
// 1. Your Google Cloud Project API Key for Vertex AI (Gemini API) | |
// Google Cloudプロジェクトで生成したVertex AI API(Gemini API)のAPIキー | |
const API_KEY = ''; // <-- ここにAPIキーを貼り付けてください (Paste your API key here) | |
// 2. Your Google Cloud Project ID | |
// Google CloudプロジェクトID | |
const PROJECT_ID = ''; // <-- ここにプロジェクトIDを貼り付けてください (Paste your project ID here) |
# .cursorrules | |
# Development Steps for CLI Application in Go | |
## 1. Overall Design | |
- Define the purpose and scope of the CLI application. | |
- Identify the target audience and their needs. | |
- Outline the main features and functionalities. | |
- Create a high-level architecture diagram. | |
- **Improve Specifications/Features:** |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>フルーツ合成パズルゲーム</title> | |
<!-- Matter.js を CDN 経由で読み込み --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/matter-js/0.19.0/matter.min.js"></script> | |
<style> | |
body { margin: 0; font-family: sans-serif; } | |
/* 上部の情報&操作エリア */ |
The other day, I wrote an articleshown below, and I was thinking about whether I could prepare or have a machine that can run the server continuously.
NostrP2P: Pure P2P Distributed Microblogging System - ryo_grid's tech articles
Then, I remembered that there is an app called Termux that creates a unique Linux environment within an Android device. So, I thought it would be a good idea to use an old Android smartphone to run the server, and when I tried it, it worked perfectly!
(The idea behind Termux is that since Android is a type of Linux, by changing the root location of the file system in the shell shown to the user with chroot and placing the necessary files, you can create a unique Linux userland.)
First, referring to the sites below, install Termux via the Fdroid app.
// Code generated by protoc-gen-go. DO NOT EDIT. | |
// versions: | |
// protoc-gen-go v1.32.0 | |
// protoc v3.19.1 | |
// source: np2p_event.proto | |
package schema | |
import ( | |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |