Share to: share facebook share twitter share wa share telegram print page

Batch processing

Computerized batch processing is a method of running software programs called jobs in batches automatically. While users are required to submit the jobs, no other interaction by the user is required to process the batch. Batches may automatically be run at scheduled times as well as being run contingent on the availability of computer resources.

History

The term "batch processing" originates in the traditional classification of methods of production as job production (one-off production), batch production (production of a "batch" of multiple items at once, one stage at a time), and flow production (mass production, all stages in process at once).

Early history

Early computers were capable of running only one program at a time. Each user had sole control of the machine for a scheduled period of time. They would arrive at the computer with program and data, often on punched paper cards and magnetic or paper tape, and would load their program, run and debug it, and carry off their output when done.

As computers became faster the setup and takedown time became a larger percentage of available computer time. Programs called monitors, the forerunners of operating systems, were developed which could process a series, or "batch", of programs, often from magnetic tape prepared offline. The monitor would be loaded into the computer and run the first job of the batch. At the end of the job it would regain control and load and run the next until the batch was complete. Often the output of the batch would be written to magnetic tape and printed or punched offline. Examples of monitors were IBM's Fortran Monitor System, SOS (Share Operating System), and finally IBSYS for IBM's 709x systems in 1960.[1][2]

Third-generation systems

Third-generation computers[clarification needed][3] capable of multiprogramming began to appear in the 1960s. Instead of running one batch job at a time, these systems can have multiple batch programs running at the same time in order to keep the system as busy as possible. One or more programs might be awaiting input, one actively running on the CPU, and others generating output. Instead of offline input and output, programs called spoolers read jobs from cards, disk, or remote terminals and place them in a job queue to be run. In order to prevent deadlocks the job scheduler needs to know each job's resource requirements—memory, magnetic tapes, mountable disks, etc., so various scripting languages were developed to supply this information in a structured way. Probably the most well-known is IBM's Job Control Language (JCL). Job schedulers select jobs to run according to a variety of criteria, including priority, memory size, etc. Remote batch is a procedure for submitting batch jobs from remote terminals, often equipped with a punch card reader and a line printer.[4] Sometimes asymmetric multiprocessing is used to spool batch input and output for one or more large computers using an attached smaller and less-expensive system, as in the IBM System/360 Attached Support Processor.[a]

Later history

CDC NOS batch file to get the file STARTRK and output it to the card punch

The first general purpose time sharing system, Compatible Time-Sharing System (CTSS), was compatible with batch processing. This facilitated transitioning from batch processing to interactive computing.[5]

From the late 1960s onwards, interactive computing such as via text-based computer terminal interfaces (as in Unix shells or read-eval-print loops), and later graphical user interfaces became common. Non-interactive computation, both one-off jobs such as compilation, and processing of multiple items in batches, became retrospectively referred to as batch processing, and the term batch job (in early use often "batch of jobs") became common. Early use is particularly found at the University of Michigan, around the Michigan Terminal System (MTS). [6]

Although timesharing did exist, its use was not robust enough for corporate data processing; none of this was related to the earlier unit record equipment, which was human-operated.

Ongoing

Non-interactive computation remains pervasive in computing, both for general data processing and for system "housekeeping" tasks (using system software). A high-level program (executing multiple programs, with some additional "glue" logic) is today most often called a script, and written in scripting languages, particularly shell scripts for system tasks; in IBM PC DOS and MS-DOS this is instead known as a batch file. That includes UNIX-based computers, Microsoft Windows, macOS (whose foundation is the BSD Unix kernel), and even smartphones. A running script, particularly one executed from an interactive login session, is often known as a job, but that term is used very ambiguously.

"There is no direct counterpart to z/OS batch processing in PC or UNIX systems. Batch jobs are typically executed at a scheduled time or on an as-needed basis. Perhaps the closest comparison is with processes run by an at or cron command in UNIX, although the differences are significant."[7]

Modern systems

Batch applications are still critical in most organizations in large part because many common business processes are amenable to batch processing. While online systems can also function when manual intervention is not desired, they are not typically optimized to perform high-volume, repetitive tasks. Therefore, even new systems usually contain one or more batch applications for updating information at the end of the day, generating reports, printing documents, and other non-interactive tasks that must complete reliably within certain business deadlines.

Some applications are amenable to flow processing, namely those that only need data from a single input at once (not totals, for instance): start the next step for each input as it completes the previous step. In this case flow processing lowers latency for individual inputs, allowing them to be completed without waiting for the entire batch to finish. However, many applications require data from all records, notably computations such as totals. In this case the entire batch must be completed before one has a usable result: partial results are not usable.

Modern batch applications make use of modern batch frameworks such as Jem The Bee, Spring Batch[8] or implementations of JSR 352[9] written for Java, and other frameworks for other programming languages, to provide the fault tolerance and scalability required for high-volume processing. In order to ensure high-speed processing, batch applications are often integrated with grid computing solutions to partition a batch job over a large number of processors, although there are significant programming challenges in doing so. High volume batch processing places particularly heavy demands on system and application architectures as well. Architectures that feature strong input/output performance and vertical scalability, including modern mainframe computers, tend to provide better batch performance than alternatives.

Scripting languages became popular as they evolved along with batch processing.[10]

Batch window

A batch window is "a period of less-intensive online activity",[11] when the computer system is able to run batch jobs without interference from, or with, interactive online systems.

A bank's end-of-day (EOD) jobs require the concept of cutover, where transaction and data are cut off for a particular day's batch activity ("deposits after 3 PM will be processed the next day").

As requirements for online systems uptime expanded to support globalization, the Internet, and other business needs, the batch window shrank[12][13] and increasing emphasis was placed on techniques that would require online data to be available for a maximum amount of time.

Batch size

The batch size refers to the number of work units to be processed within one batch operation. Some examples are:

  • The number of lines from a file to load into a database before committing the transaction.
  • The number of messages to dequeue from a queue.
  • The number of requests to send within one payload.

Common batch processing usage

Notable batch scheduling and execution environments

The IBM mainframe z/OS operating system or platform has arguably the most highly refined and evolved set of batch processing facilities owing to its origins, long history, and continuing evolution. Today such systems commonly support hundreds or even thousands of concurrent online and batch tasks within a single operating system image. Technologies that aid concurrent batch and online processing include Job Control Language (JCL), scripting languages such as REXX, Job Entry Subsystem (JES2 and JES3), Workload Manager (WLM), Automatic Restart Manager (ARM), Resource Recovery Services (RRS), IBM Db2 data sharing, Parallel Sysplex, unique performance optimizations such as HiperDispatch, I/O channel architecture, and several others.

The Unix programs cron, at, and batch (today batch is a variant of at) allow for complex scheduling of jobs. Windows has a job scheduler. Most high-performance computing clusters use batch processing to maximize cluster usage.[15]

See also

Notes

  1. ^ Use of satellite computers for this purpose began earlier, e.g., in IBM 7094/7044 Direct Coupled System.

References

  1. ^ "The Direct Couple for the IBM 7090". SoftwarePreservationGroup.org. IBSYS was an operating system for the 7090 that evolved from SOS (SHARE Operating System)
  2. ^ "History of Operating Systems" (PDF). University of Washington. Archived (PDF) from the original on 2022-10-09. Retrieved Oct 10, 2019.
  3. ^ "Why won't you DIE? IBM's S/360 and its legacy at 50". The Register. April 7, 2014.
  4. ^ "CDC User Terminal Hardware Reference manual" (PDF). BitSavers. Archived (PDF) from the original on 2022-10-09.
  5. ^ Walden, David; Van Vleck, Tom, eds. (2011). "Compatible Time-Sharing System (1961-1973): Fiftieth Anniversary Commemorative Overview" (PDF). IEEE Computer Society. Archived (PDF) from the original on 2022-10-09. Retrieved February 20, 2022. CTSS was called "compatible" in the sense that FMS could be run in B-core as a "back-ground" user, nearly as efficiently as on a bare machine, and also because programs compiled for FMS batch could be loaded and executed in the "foreground" time-sharing environment (with some limitations). ... This feature allowed the Computation Center to make the transition from batch to timesharing gradually
  6. ^ "The Computing Center: Coming to Terms with the IBM System/360 Model 67". Research News. 20 (Nov/Dec). University of Michigan: 10. 1969.
  7. ^ IBM Corporation. "What is batch processing?". zOS Concepts. Retrieved Oct 10, 2019.
  8. ^ Minella, Michael (2011-10-13). Pro Spring Batch. Apress. ISBN 978-1-4302-3453-1.
  9. ^ "Batch Applications for the Java Platform". Java Community Process. Retrieved 2015-08-03.
  10. ^ "JSR352 null". IBM.com. Archived from the original on 2018-10-20. Retrieved 2018-10-19. JSR 352, the open standard specification for Java batch processing. ... The programming languages used evolved over time based on what was available
  11. ^ "Mainframes working after hours: Batch processing". Mainframe concepts. IBM Corporation. Retrieved June 20, 2013.
  12. ^ Batch Processing: Design – Build – Run: Applied Practices and Principles. Oreilly. 2009-02-24. ISBN 9780470257630.
  13. ^ "Traditionally batch was an overnight activity, with jobs processing millions of ... Today the batch window is ever decreasing with 24/7 availability requirements."
  14. ^ Gutkovich, Ben (10 February 2023). "Why Real-Time Machine Learning will be the Buzzword of 2023". Superlinked. Retrieved 11 April 2023.
  15. ^ "High performance computing tutorial, with checklist and tips to optimize". January 25, 2018. a multi-user, shared and smart batch processing system improves the scale ..... Most HPC clusters are in Linux

Read other articles:

LimburgheseLimburgs, LèmburgsParlato in Paesi Bassi (Limburgo) Belgio (Limburgo)ristretta zona della Germania LocutoriTotale1,6 milioni Altre informazioniScritturaAlfabeto latino TassonomiaFilogenesiLingue indoeuropee Lingue germaniche  Lingue germaniche occidentali   Lingue basso-franconi    (Mosa-renano)     Lingua limburghese Statuto ufficialeUfficiale in Paesi Bassi (come lingua regionale) Codici di cl…

Untuk produser musik, lihat Sweetune. Ini adalah nama Korea; marganya adalah Kim. Kim Seung-sooLahir25 Juli 1971 (umur 52)AlmamaterUniversitas Kyonggi - Bachelor of Physical Education[1]PekerjaanAktorTahun aktif1997-sekarangAgenPopeye Entertainment[1]Nama KoreaHangul김승수 Hanja金承洙 Alih AksaraGim SeungsuMcCune–ReischauerKim Sŭngsu Situs webhttp://kimseungsoo.com/ Kim Seung-Soo (lahir 25 Juli 1971[2]) adalah aktor asal Korea Selatan.[3] Filmog…

Cristallo di allume di potassio, KAl(SO4)2·12H2O. Col termine allume ci si riferisce alla famiglia di sali doppi di formula MIAlIII(SO4)2·12H2O, contenente due differenti cationi, M+ e Al3+ cristallizzati nello stesso reticolo cristallino assieme ad anioni solfato e molecole d'acqua. Il catione M+ può essere sodio, potassio, rubidio, cesio, ammonio, alchil- o arilammonio, o anche tallio(I), mentre il litio risulta troppo piccolo per formare composti di questo tipo. Più in particolare allume …

Midshipman JackKartu lobiSutradaraChristy CabanneProduserMerian C. CooperSkenarioFrank WeadF. McGrew WillisPemeranBruce CabotBetty FurnessFrank AlbertsonArthur LakeFlorence LakePenata musikMax SteinerSinematograferAlfred GilksNicholas MusuracaPenyuntingBasil WrangellPerusahaanproduksiRKO PicturesDistributorRKO PicturesTanggal rilis 22 September 1933 (1933-09-22) Durasi71 menitNegaraAmerika SerikatBahasaInggris Midshipman Jack adalah sebuah film laga Pre-Code Amerika Serikat tahun 1933…

This article contains translated text and the factual accuracy of the translation should be checked by someone fluent in Afrikaans and English. Cinema ofSouth Africa List of South African films South African Animation pre 1910 1910s 1920s 1930s 1940s 1950s 1960s 1970s 1980s 1990s 2000s 2010s 2020s By language Afrikaans vte This is a list of Afrikaans-language films. For a more comprehensive list see Category:Afrikaans-language films 1898 Pres. Paul Kruger filmed in front of his house in Pretoria…

Untuk Menteri Perang Belanda pada tahun 1860-an, lihat Johannes Adrianus van den Bosch. Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Johannes van den Bosch – berita · surat kabar · buku · cendekiawan · JSTOR Johannes van den BoschJohannes van den Bosc…

Danau ElmenteitaKoordinat0°27′S 36°15′E / 0.450°S 36.250°E / -0.450; 36.250Koordinat: 0°27′S 36°15′E / 0.450°S 36.250°E / -0.450; 36.250Terletak di negaraKenyaArea permukaan18 km2 (6,9 sq mi)Ketinggian permukaan1,670 m (5 ft 5,7 in) ASL Ramsar WetlandDitetapkan5 September 2005No. referensi1498[1] Danau Elmenteita, terkadang ditulis Elementaita, adalah danau soda di Great Rift Valley, Kenya …

Untuk pulau di Bahrain, lihat Nabih Saleh. Untuk pengusaha Iran Australia, lihat Nabi Saleh (pengusaha). Nabi SalihKomite Pembangunan LokalTranskripsi Arab • Arabالنبي صالح • Latinan-Nabi Salih (resmi)Nabi Saleh (tak resmi)Nabi SalihLokasi Nabi Salih di PalestinaKoordinat: 32°01′0″N 35°7′29″E / 32.01667°N 35.12472°E / 32.01667; 35.12472Koordinat: 32°01′0″N 35°7′29″E / 32.01667°N 35.12472°E࿯…

Berikut adalah Daftar perguruan tinggi swasta di Sulawesi Tenggara, yang pembinaannya berada di bawah Kementerian Pendidikan dan Kebudayaan Republik Indonesia dan Perguruan Tinggi Swasta Keagamaan, yang pembinaannya berada di bawah Kementerian Agama. Daftar ini tidak termasuk Perguruan Tinggi Kedinasan yang pembinaannya berada dibawah masing-masing kementerian/lembaga. Universitas Universitas Karya Persada Muna (Kota Raha) Universitas Sains Islam Al Mawaddah Warrahmah Kolaka (USIMAR Kolaka) Univ…

Wakil Wali Kota TarakanLambang Kota TarakanPetahanaEffendhi Djuprianto, S.H.sejak 1 Maret 2019Masa jabatan5 tahunDibentuk1999Pejabat pertamaJoesoef AbdullahSitus webwww.tarakankota.go.id Wakil Wali Kota Tarakan adalah posisi kedua yang memerintah Kota Tarakan di bawah Wali Kota Tarakan. Posisi ini pertama kali dibentuk pada tahun 1999. Daftar No Wakil Wali Kota Mulai Jabatan Akhir Jabatan Prd. Ket. Wali Kota 1 Joesoef Abdullah 1999 2004 1   dr. H.Jusuf Serang Kasim 2 Thamrin A.D. 2004 …

Region of Western Australia For the fly genus, see Pilbara octava. PilbaraWestern Australia Location of the Pilbara region in Western Australia LGA(s) Shire of Ashburton Shire of East Pilbara City of Karratha Town of Port HedlandState electorate(s) Kimberley PilbaraFederal division(s)Durack The Pilbara (/ˈpɪlbərə/) is a large, dry, thinly populated region in the north of Western Australia. It is known for its Aboriginal peoples; its ancient landscapes; the red earth; and its vast mineral dep…

U.S. Navy enlisted medical specialist HM2 redirects here. For the video game, see Hotline Miami 2: Wrong Number. For the guitar pedal, see Boss HM-2. Corpsman redirects here. For the Korean War army enlisted men, see medic, combat medic, and orderly. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Hospital corpsman – news · news…

Thomas Morello (lahir 30 Mei 1964) adalah seorang musisi Amerika, penyanyi, penulis lagu dan aktivis. Dia terkenal sebagai anggota grup musik Rage Against the Machine dan Audioslave. Morello saat ini menjadi musisi tur dengan Bruce Springsteen and E Street Band.[1] Ia juga dikenal sebagai solois akustik dengan sebutan The Nightwatchman, dan kelompok terbarunya, Street Sweeper Social Club. Morello juga merupakan pendiri (bersama dengan Serj Tankian) dari organisasi aktivis politik non-pro…

Questa voce sull'argomento motori aeronautici è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Rolls-Royce GoshawkDescrizione generaleCostruttore Rolls-Royce Tipo12 cilindri a V voci di motori presenti su Wikipedia Il Rolls-Royce Goshawk era un motore aeronautico prodotto dalla britannica Rolls-Royce Limited. Era in pratica uno sviluppo del Kestrel dotato di sistema di raffreddamento a liquidi ad evaporazio…

Zekhring peopleRegions with significant populations India (Arunachal Pradesh)LanguagesZakhringReligionDonyi-Polo (sun and moon), Hinduism, Christianity The Zekhring[1] are from the Anjaw District (formerly part of Lohit district) of Arunachal Pradesh. They live in the hilly terrain and banks of the Lohit River in the Walong and Kibithoo area. They are Animists, although they have recently co-adopted Tibetan Buddhism.[2] The Zekhring sustain their livelihoods through agricult…

2005 slasher film Urban Legends: Bloody MaryOfficial DVD coverDirected byMary LambertWritten by Michael Dougherty Dan Harris Based onUrban Legendby Silvio HortaProduced by Aaron Merrell Louis Phillips Scott Messer Starring Kate Mara Robert Vito Tina Lifford Ed Marinaro Lillith Fields CinematographyIan FoxEdited byMichelle HarrisonMusic byJeff RonaProductioncompanyNPP ProductionsDistributed bySony Pictures Home EntertainmentRelease date July 19, 2005 (2005-07-19) Running time93 min…

This article is about the novel by Nick McDonell. For the novella by Jennifer Lynn Barnes, see Twelve (novella). This article's plot summary may be too long or excessively detailed. Please help improve it by removing unnecessary details and making it more concise. (July 2011) (Learn how and when to remove this message) First edition (publ. Grove Press) Twelve is a 2002 novel by Nick McDonell about drug addiction, violence and sex among mainly wealthy Manhattan teenagers. The title refers to a ne…

Lalla Aicha al-Alamiللا عائشة العلميSayyida al Hurra, as imagined by a Modern artist.Hakimat TitwanRule1515/1519[1] – 1542PredecessorSidi Al-Mandri IIBornc.1485 - 1495[2]Died14 July 1561SpouseSidi Al-Mandri II (c.1501; died 1519)[3] Sultan Ahmad ibn Muhammad (m.1541; died 1549)NamesLalla Aicha bint Ali ibn Rashid al-AlamiDynastyWattasid (by marriage)FatherAli ibn Rashid al-AlamiMotherZohra Fernandez[4]ReligionSunni Islam Moroccan ruler of Tétouan …

 烏克蘭總理Прем'єр-міністр України烏克蘭國徽現任杰尼斯·什米加尔自2020年3月4日任命者烏克蘭總統任期總統任命首任維托爾德·福金设立1991年11月后继职位無网站www.kmu.gov.ua/control/en/(英文) 乌克兰 乌克兰政府与政治系列条目 宪法 政府 总统 弗拉基米尔·泽连斯基 總統辦公室 国家安全与国防事务委员会 总统代表(英语:Representatives of the President of Ukraine) 总理…

Software company SPSS Inc.Company typePublicIndustrySoftwareFounded1968FounderNorman Nie Dale Bent, Hadlai Tex HullDefunct2010 (2010)FateAcquired by IBMHeadquartersChicago, ILProductsStatistical softwareOwnerIBMParentIBM SPSS Inc. was a software house headquartered in Chicago and incorporated in Delaware, most noted for the proprietary software of the same name SPSS. The company was started in 1968 when Norman Nie, Dale Bent, and Hadlai Tex Hull developed and started selling the SPSS softwa…

Kembali kehalaman sebelumnya