# I am confused how JAM enables real-time data

**URL:** <https://forum.polkadot.network/t/i-am-confused-how-jam-enables-real-time-data/11249>\
**Category:** Tech Talk\
**Created:** [December 23, 2024, 3:35am UTC](https://forum.polkadot.network/t/i-am-confused-how-jam-enables-real-time-data/11249 "2024-12-23T03:35:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dolmaface](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@dolmaface](https://forum.polkadot.network/u/dolmaface)\
**Post date:** [December 23, 2024, 3:35am UTC](https://forum.polkadot.network/t/i-am-confused-how-jam-enables-real-time-data/11249/1 "2024-12-23T03:35:10Z")

</div>

My understanding is that JAM services are able to provide continuous computation via pipeline processing, thus enabling real-time data to software applications. I am confused how exactly this works-- how can a program continuously execute between blocks without being vulnerable to an attack? Couldn’t someone alter the data before it is validated?

---

<div class="post-metadata">

**Author:** ![kianenigma](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.polkadot.network/kianenigma/32/6153_2.png) [@kianenigma](https://forum.polkadot.network/u/kianenigma)\
**Post date:** [December 23, 2024, 1:30pm UTC](https://forum.polkadot.network/t/i-am-confused-how-jam-enables-real-time-data/11249/2 "2024-12-23T13:30:15Z")

</div>

JAM allows continuous computation not natively, but through the [CoreVM Service](https://x.com/alice_und_bob/status/1869078665398829350).

This is a service that would allow you to upload a long-running program (the DOOM game, a for loop that calculates the nth Fibonacci sequence, etc.), and have it run on a core’s `refine` stage, across multiple blocks, without being abstracted into the notion of a blockchain running it under the hood.

This video from @shawntabrizi is a great explanation of that.

> <https://x.com/kianenigma/status/1856557549786673391>

https://www.youtube.com/embed/G9CNCNiXuJI?si=fL4sBYG8RbO7ZfwX

> thus enabling real-time data to software applications

Now, I am not sure yet as to what use case you are envisioning here. Can you elaborate a bit more please?

---

<div class="post-metadata">

**Author:** ![dolmaface](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@dolmaface](https://forum.polkadot.network/u/dolmaface)\
**Post date:** [December 24, 2024, 12:45am UTC](https://forum.polkadot.network/t/i-am-confused-how-jam-enables-real-time-data/11249/3 "2024-12-24T00:45:12Z")

</div>

Thanks for the info! Okay that makes more sense to me

I didn’t have a particular use case in mind, was referring to this tweet by Emil [here](https://x.com/EmilKietzman/status/1870924661342806426?t=4fKA43LXIxhFOgCW4JVBZw) where he mentions pipelining providing real-time updates for enterprise/gaming.
