0207|09|
2007|09|10|12|
2008|01|02|03|
2009|01|05|08|10|11|12|
2010|01|02|03|04|09|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|03|04|

2022-09-25 嫁さんの中では、『私が自分のプログラムの為だけにローカルに作った実験用の小規模データベース』は、データベースに含まれていないようです ―― [長年日記]

私が入社したころは、コンピュータのリソース不足が慢性的な悩みでした。

When I joined the company, the lack of computer resources was a chronic problem.

3桁の2次元配列を作るだけで、プログラムが実行できなくなり、メモリの効率的な利用が、最大の課題でした。

Efficient use of memory was the biggest challenge, as creating a three-digit two-dimensional array alone would not allow the program to run.

職場で、ワークステーションの奪い合いなどもやっていました。

At work, I was fighting for workstations.

しかし、PCが潤沢なリソースを持つようになり、このような問題に直面することはなくなりました。

However, PCs no longer face this problem as they now have ample resources.

並行処理に強いプログラム言語(Go言語等)の登場により、100万オーダのオブジェクトも普通に扱えるようになりました。

With the advent of programming languages (such as Go) that are strong in concurrency processing, objects of the order of one million can now be handled as usual.

ですが、無茶したら駄目ですね。

However, I should not be reckless.

このようなデータベースの悲鳴に対して、各種の対応を試してきたのですが、リソースマネージャーをみたら、ディスク(書き込み)使用率99%越え、という状況が発生していました。

I have tried various responses to the database screams, but when I checked the resource manager, I found that the disk (write) usage was over 99%.

まあ、dockerの中に作ったDBに、1秒間に30回も100人分のエージェント情報の書き込みをやったら、そりゃ、データベースも悲鳴を上げるだろうなぁ、と、思いました。

Well, I thought, writing 100 agents' information 30 times per second to a database created in docker, the database would scream.

ここ十何年も、リソース不足問題と無縁で生きてきましたので、自分の無茶に気がつなかったようです。

I have been living without resource shortage problems for more than a decade, so I guess I did not realize how reckless I was.

-----

そういえば、嫁さんと会話していた時、

I was having a conversation with my wife.

江端:「データベースがダウンしちゃって・・・」

Ebata: "My database went down..."

嫁さん:「え! それ大変じゃん!! 大丈夫なの?」

Wife: "What! That's an accident! Are you okay?"

と、『何言ってんの?』という感じで、お互いに首をかしげることになりました。

We were both nodding our heads like 'What are you talking about?'

一般の人が「データベース」という言葉から一般の人が連想するのは、行政管理システムとか、電力配送システムとか、アマゾンなどのようなEコマースシステムでしょう。

What the general public associates with the word "database" would be an administrative management system, an electricity delivery system, or an e-commerce system such as Amazon.

その手のデータベースがダウンしたら、社会生活に甚大な影響が出ます。

If that type of database were to go down, it would have an enormous impact on social life.

嫁さんの中では、『私が自分のプログラムの為だけにローカルに作った実験用の小規模データベース』は、データベースに含まれていないようです ――

In my wife's mind, 'a small experimental database that I created locally just for my own programs' is not included in the database.

それが、一般人の感覚である、というのは、私にも分かります。

I think that is the feeling of ordinal persons.