{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/d9a7e10b6b6049cba82d5b43f3bba4cd\" frameborder=\"0\" width=\"2560\" height=\"1920\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1920,"width":2560,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1920,"thumbnail_width":2560,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/d9a7e10b6b6049cba82d5b43f3bba4cd-f55ed1e47b9f983c.gif","duration":235.07,"title":"Demonstrating the Write-Ahead Log Feature in Weave","description":"In this video, I demonstrate the write-ahead log feature using a simple Python script. I run the script in parallel four times while enabling the write-ahead log with the environment variable 'weave.enableWall' and disabling the sender to show how requests are cached. After running the code, I show that no data appears on the project dashboard initially, but the JSONL files are created in the .weave directory, containing the requests. I then enable the sender and run the script again, which flushes the data to the server, allowing us to see the records on the dashboard. I encourage you to explore the logs and the resulting records to better understand how this feature works."}